﻿Imports System
Imports System.Text

Namespace ItalloVilardo.Dominio

    <Serializable()> _
    Public Class Pagamento

        Private _id As Nullable(Of Long)
        Public Property Id() As Nullable(Of Long)
            Get
                Return _id
            End Get
            Set(ByVal value As Nullable(Of Long))
                _id = value
            End Set
        End Property

        Private _pedido As Pedido
        Public Property Pedido() As Pedido
            Get
                Return _pedido
            End Get
            Set(ByVal value As Pedido)
                _pedido = value
            End Set
        End Property

        Private _formapagamento As FormaDePagamento
        Public Property FormaPagamento() As FormaDePagamento
            Get
                Return _formapagamento
            End Get
            Set(ByVal value As FormaDePagamento)
                _formapagamento = value
            End Set
        End Property

        Private _numerocartaocredito As String
        Public Property NumeroCartaoCredito() As String
            Get
                Return _numerocartaocredito
            End Get
            Set(ByVal value As String)
                _numerocartaocredito = value
            End Set
        End Property

        Private _dataexpiracaocartaodecredito As DateTime
        Public Property DataExpiracaoCartaoDeCredito() As DateTime
            Get
                Return _dataexpiracaocartaodecredito
            End Get
            Set(ByVal value As DateTime)
                _dataexpiracaocartaodecredito = value
            End Set
        End Property

        Private _codigosegurancacartaodecredito As String
        Public Property CodigoSegurancaCartaoDeCredito() As String
            Get
                Return _codigosegurancacartaodecredito
            End Get
            Set(ByVal value As String)
                _codigosegurancacartaodecredito = value
            End Set
        End Property


    End Class

End Namespace